﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分享博客|博客导航</title>
<meta name="keywords" content="博客,博客导航,导航,wordpress,bokedaohang" />
<meta name="description" content="bokedaohang网站以关注互联网原创博客为主要方向，致力于为广大网友提供最为优质的专业博客导航服务" />
<meta name="author" content="bokedaohang" />
<meta name="copyright" content="www.bokedaohang.com" /><link href="http://www.bokedaohang.com/favicon.ico" rel="shortcut icon">
<link href="../css/css.css" type="text/css" rel="stylesheet" />
<link type="text/css" href="../css/style.css" rel="stylesheet"/>
<script type="text/javascript" src="../js/jquery.js"></script>
<script src="../js/interface.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/Validform_min.js"></script>
<script type="text/javascript">
$(function(){
	$("#search").val('搜索，就是这么简单').css('color','#6d6d6d');
	$("#search").focusin(function(){
		if($('#search').val() =='搜索，就是这么简单'){
			$('#search').val('').css('color','#000');
		}
	}).focusout(function(){
		if($('#search').val() ==''){
			$('#search').val('搜索，就是这么简单').css('color','#6d6d6d');
		}
	
	});
	
	$(".foot a").each(function(){$(this).css("color","#676767")}).hover(function(){
		$(this).animate({style:"color:#000000"})
	},function(){
		$(this).animate({style:"color:#676767"})
	});

	$(".registerform").Validform({
		tiptype:2,
		datatype:{
			"url" : /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i,
		},
	});
	
});

</script>
</head>

<body>
<a rel="nofollow" href="feedback.php" class="w-fank">意见反馈</a>
<div id="main">
<?php require 'header.php';?>
	<div class="navmain">
		<img src="../images/content_top_wide.png" alt="" />
		<div class="nav">
			<p class="navtitle">分享博客</p>
			<div class="navtop">
				<div id="share">
				<?php
					$sql = mysql_query("select * from links where id=$_GET[id]");
					$info = mysql_fetch_array($sql);
				?>
				<form class="registerform" action="change_links_ini.php?id=<?php echo $_GET[id];?>" method="post">

					<table>
						<tr>
							<td class="need" style="width:10px;">*</td>
							<td>博客名称：</td>
							<td>
								<input type="text" name="name" class="inputxt" datatype="s2-18"  nullmsg="请输入用户名！" errormsg="昵称至少2个字符,最多18个字符！" value="<?php echo $info[name];?>" />
							</td>
							<td><div class="Validform_checktip">昵称至少2个字符,最多18个字符</div></td>
						</tr>
						<tr>
							<td class="need" style="width:10px;">*</td>
							<td>博客网址：</td>
							<td><input type="text" value="<?php echo $info[link];?>" name="link" class="inputxt" datatype="url"  nullmsg="请输入博客地址！" errormsg="请输入正确的博客地址！"  /></td>
							<td><div class="Validform_checktip">示例：http://www.bokedaohang.com</div></td>
						</tr>					
						<tr>
							<td class="need" style="width:10px;"></td>
							<td>你的邮箱：</td>
							<td>
								<input type="text" value="<?php echo $info[email];?>" name="email" class="inputxt" datatype="e" ignore="ignore" nullmsg="请输入您常用的邮箱！" errormsg="请输入您常用的邮箱！" />
							</td>
							<td><div class="Validform_checktip"></div></td>
						</tr>						
						<tr>
							<td class="need" style="width:10px;">*</td>
							<td>博客分类：</td>
							<td>
							<select name="classname" id="province" datatype="select" errormsg="请选择博客类型！" >
								<option value="">--请选择博客类型--</option>
								<?php 
									$sql1 = mysql_query("select * from classify");
									while ($row = mysql_fetch_array($sql1)) {
								?>
								<option value="<?php echo $row['classname'];?>" <?php if($row['classname'] == $info['classname']){echo 'selected';}?>><?php echo $row['classname'];?></option>
								<?php	
									}
								?>
								
							</select>
							</td>
							<td><div class="Validform_checktip"></div></td>
						</tr>						
						<tr>
							<td class="need" style="width:10px;">*</td>
							<td>简单介绍：</td>
							<td colspan="2">
								<textarea tip="请在这里输入您的简单介绍。" errormsg="很感谢您花费宝贵时间给我们提供反馈，请填写有效内容！"  datatype="*0-140" altercss="gray" class="gray" name="info" value=""><?php echo $info['info'];?></textarea>
							</td>
						</tr>
						<tr>
							<td class="need"></td>
							<td></td>
							<td colspan="2" style="padding:10px 0 18px 0;">
								<input type="submit" value="提 交" id="tijiao" />
							</td>
						</tr>
					</table>
				</form>
					<div id="explain">
					博客导航只收录独立博客、BSP博客、个人网站，因为是人工审核，请企业站、淘宝站不要徒劳了。
					<p>提示：审核时间一般在早上或晚上，请您耐心等候。</p>
					</div>
					
				</div>

			</div>
		</div>
		<img src="../images/content_bottom_wide.png" alt="" />
	</div><br />
<?php require 'footer.php';?>
</div>
</body>
</html>
